{include file="public/header" /}
<style type="text/css">.gray-bg{ background: #fff; }.wrapper{ padding:0px;}.asdh5 h5{border-top: 1px dotted #ccc; padding-top: 20px;margin-top: 20px;}</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal" method="post">
            <div class="col-sm-12">
                <div class="ibox-content">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">角色名称：</label>
                        <div class="col-sm-10">
                            <input name="title" type="text"  class="form-control" value="{$name.title|default=""}" {if isset($name.title) and $name.title eq '城市代理'}readonly="readonly"{/if} />
                        </div>
                    </div>
                </div>
            </div>
            {if !empty($category)}
            <div class="col-sm-12">
                <div class="ibox-content asdh5">
                    <h2>权限设置</h2>
                    <div class="wrapper-content">
                        {$category|raw}
                    </div>
                </div>
            </div>
            {/if}
            <input type="hidden" name="id" value="{$name.id|default="0"}" />
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__STYLE__/admin/plugins/iCheck/icheck.min.js"}
{load href="__STYLE__/admin/plugins/iCheck/custom.css"}
<script type="text/javascript">
$(document).ready(function(){
    $(".i-checks").iCheck({
        checkboxClass: "icheckbox_square-green",
        radioClass: "iradio_square-green",
    });
});
</script>
{include file="public/bottom" /}